package org.xxpay.core.service;
import org.xxpay.core.entity.SettBankAccount;
import java.util.List;

public interface ISettBankAccountService {

    List<SettBankAccount> select(int offset, int limit, SettBankAccount settBankAccount);

    int count(SettBankAccount settBankAccount);

    SettBankAccount find(SettBankAccount settBankAccount);

    SettBankAccount findById(Long id);

    SettBankAccount findByAccountNo(String accountNo);

    SettBankAccount findByInfoIdAndAccountNo(Long infoId, String accountNo);

    int add(SettBankAccount settBankAccount);

    int update(SettBankAccount settBankAccount);

    int updateByMchId(SettBankAccount settBankAccount, Long mchId);

    int delete(Long id);

    List<SettBankAccount> getSettBankAccount(SettBankAccount settBankAccount);
}
